using Godot;

namespace MyCraft2;

public partial class SetDayTimeEdit : LineEdit
{
	[Signal]public delegate void DayTimeChangeEventHandler(float newDayTime);
	private void _on_text_submitted(string newText)
	{
		if (float.TryParse(newText, out var newDayTime))EmitSignal(SignalName.DayTimeChange, newDayTime);
	}
}
